package com.bilibili.chatonline.util.db;
import lombok.Data;

import java.sql.Connection;
@Data
public class ConcreteConnection {
    private final Connection connection;
    // 记录最后一次使用时间
    private long lastUsedTime;
    public ConcreteConnection(Connection connection) {
        this.connection = connection;
        this.lastUsedTime = System.currentTimeMillis();
    }

}
